package com.project.webpage.service;

import com.project.webpage.dto.TousuDto;
import com.project.webpage.dto.TousuParam;
import com.project.webpage.entity.Tousu;

import java.util.List;

public interface TousuService {

    List<TousuDto> getListForPage(TousuParam param);

    List<Tousu> getById(Long id);

    void insert(Tousu entity);

    void update(Tousu entity, Long idBefore);
}
